import request from '@/utils/request'
export function getAllAiPhoto() {
    return request({
        url: `/manager/ai/getAllAiPhoto`,
        method: 'get'
    })
}
export function deleteAiById(id) {
    return request({
        url: `/manager/ai/deleteAiById/${id}`,
        method: 'delete'
    })
}
export function updateAi(id, message) {
    return request({
        url: '/manager/ai/updateAi',
        method: 'post',
        params: {
            id,
            message
        }
    })
}